package io.renren.modules.sys.dao;

import io.renren.modules.sys.entity.ColumnsInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.sys.entity.ColumnsInfoExcel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhangfn
 * @date 2020-06-05 10:55:20
 */
@Mapper
public interface ColumnsInfoDao extends BaseMapper<ColumnsInfoEntity> {

    int delColumns(String tableId);

    int upTcl(@Param("id") String id, @Param("tcl") String tcl);

    List<ColumnsInfoExcel> getByTableid(@Param("tableid") String tableid);


}
